package com.vanysoft.business.base.org.controller.demo;


import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.Size;


public class OrgDemo {

    @NotEmpty
    @Size(max = 36)
    private String orgCode;
    @NotEmpty
    @Size(max = 50)
    private String orgName;
    private String parentOrgCode;
    private String officeTel;

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public String getParentOrgCode() {
        return parentOrgCode;
    }

    public void setParentOrgCode(String parentOrgCode) {
        this.parentOrgCode = parentOrgCode;
    }

    public String getOfficeTel() {
        return officeTel;
    }

    public void setOfficeTel(String officeTel) {
        this.officeTel = officeTel;
    }
}
